package com.ruandi.test12;

public class Test12 {
    public static void main(String[] args) {
        Triangle triangle1 = new Triangle(6, 6, 6);
        Triangle triangle2 = new Triangle(3, 3, 3);
        System.out.println(triangle1);
        System.out.println(triangle2);
        System.out.println("T1的面积为：" + triangle1.getArea());
        System.out.println("T1的周长为：" + triangle1.getPiremeter());
        System.out.println("T2的面积为：" + triangle2.getArea());
        System.out.println("T2的周长为：" + triangle2.getPiremeter());
    }
}
